home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1995 November / Macworld Nov ’95.toast / Try Me / DeBabelizer 1.6 Demo / Custom Code / CODE combine palette / CODE combine palette.rsrc / TEXT_1000_Merge palettes.txt < prev    next >
Encoding:
Text File  |  1994-10-27  |  1.1 KB  |  10 lines

  1. MERGE PALETTES
  2. Copies colors from a palette listed in the Palette submenu into the current palette.
  3. Specify the first color in the range of colors you want to copy either by pointing to the first color in the range in the "From palette" and clicking, or by typing in the color index into the "starting at #" box.
  4. Specify the first color in the range of colors to copy to the same way.
  5. Specify the number of colors in the range by typing it into the "Copy # of colors" box.
  6. Specify the copy method by clicking the appropriate radio button:
  7. - Replace is the normal method, where the colors from the "From palette" replace the colors in the "To palette".
  8. - OR: the bits of the colors in the "From palette" are OR'd with the bits in the colors in the "To palette".
  9. - ADD: the color values in the "From palette" are ADDed to the color values in the "To palette".  If the result would exceed the maximum value of 255, they are clipped to 255.
  10. - SUBTRACT: the color values in the "From palette" are SUBTRACTED from the color values in the "To palette".  If the result would be less than zero, they are clipped to 0.